#ifndef _UTIL_H_
#define _UTIL_H_

#include <sys/fcntl.h>
#include <exception>
#include <string>
#include <vector>

namespace dxy::easyWebServer
{


void setNoBlock(int src);

void split(std::vector<std::string> & dst, const std::string & src, const std::string & tok);

void splitRegex(std::vector<std::string> & dst, const std::string & src, const std::string & patten);


}


#endif